<h2>layers.js</h2>
<p>Generic z-index manager.</p>
<hr/>

<h3>Objects</h3>
<ul>
	<li><a href="#layers">OAT.Layers(baseOffset)</a></li>
</ul>

<h3>Methods</h3>
<ul>
	<li><a href="#addlayer">OAT.Layers::addLayer(element, activationEvent)</a></li>
	<li><a href="#removelayer">OAT.Layers::removeLayer(element)</a></li>
</ul>

<hr/>

<h3><a name="layers">OAT.Layers(baseOffset)</a></h3>
<p>Creates Layers stack. All participating elements are assigned increasing sequence of z-indexes, started from <em>baseOffset</em>.</p>

<h3><a name="addlayer">OAT.Layers::addLayer(element, activationEvent)</a></h3>
<p>Adds <em>element</em> to stack. When <em>activationEvent</em> (default: mousedown) fires, the element is raised.</p>

<h3><a name="removelayer">OAT.Layers::removeLayer(element)</a></h3>
<p>Removes <em>element</em> from stack.</p>
